home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1980-05-17 | 868 b | 15 lines |
- '**********************SIT AND STAY-By Mark Wickson***************************
- Rem Here is an example of the "Wait" command used very simply-In larger
- Rem programs you hardly ever see `wait's used because the programmers have
- Rem hard enough job making things move fast enough-But in smaller programs,
- Rem the "Wait" command has its uses.
- Rem What wait does is exactly that-It makes AMOS wait for whatever time
- Rem value you want-This time is written after the command and is measured
- Rem in 50th's of a second-So Wait 50 means wait 1 second.
- Rem "Wait" makes AMOS stop for the specified time,so any constant things you
- Rem have going (Like tests for joysticks,drawing operations and many other
- Rem things)will stop until the specified time is over(Except things like
- Rem Amal and music).
- Print "Lets just sit here for a while..."
- Wait 50
- Print "No..Lets go!"